home *** CD-ROM | disk | FTP | other *** search
/ Revista do CD-ROM 102 / CD-ROM 102.iso / aplic / 2sync / 2SyncSetup.exe / graphics / scripts / DefineButton2_112 / BUTTONCONDACTION on(press).as < prev    next >
Encoding:
Text File  |  2002-03-20  |  442 b   |  19 lines

  1. on(press){
  2.    tellTarget("_level50")
  3.    {
  4.       gotoAndStop("off");
  5.    }
  6.    if(getProperty("../listbyDrop", _visible) == "1")
  7.    {
  8.       set("_level40/sound/lib:sound","69");
  9.       call("_level40/sound/lib:play");
  10.       setProperty("../listbydrop", _visible, "0");
  11.    }
  12.    else
  13.    {
  14.       setProperty("../listbydrop", _visible, "1");
  15.       set("_level40/sound/lib:sound","68");
  16.       call("_level40/sound/lib:play");
  17.    }
  18. }
  19.